<form method="post">

<p>First Name:<br /> <input type="text" name="first_name" size="15" maxlength="15" value="{if isset($smarty.post.first_name)}{$smarty.post.first_name}{/if}" /></p>

<p>Last Name:<br /> <input type="text" name="last_name" size="30" maxlength="30" value="{if isset($smarty.post.last_name)}{$smarty.post.last_name}{/if}" /></p>

<p>Email Address:<br /> <input type="text" name="email" size="40" maxlength="40" value="{if isset($smarty.post.email)}{$smarty.post.email}{/if}" /> </p>

<p>User Name:<br /> <input type="text" name="username" size="10" maxlength="20" value="{if isset($smarty.post.username)}{$smarty.post.username}{/if}" /> <small>Use only letters, numbers, and the underscore. Must be between 4 and 20 characters long.</small></p>

<p>Password:<br /><input type="password" name="password1" size="20" maxlength="60" /> <small>Must be at least 5 characters long.</small></p>

<p>Confirm Password:<br /><input type="password" name="password2" size="20" maxlength="60" /></p>

 <input type="submit" name="submit" value="Register" />

</form>